/**
 * common includes of this module
 */

#pragma once

#include <SDL/SDL.h>
#include <SDL/SDL_opengl.h>
#include <SDL/SDL_image.h>

enum MouseButton {
    MouseButton_NONE,
    MouseButton_LEFT,
    MouseButton_RIGHT,
    MouseButton_MIDDLE,
    MouseButton_WHEELUP,
    MouseButton_WHEELDOWN
};

namespace Core {

typedef struct MouseEvent
{
    int button;
    int x; // current mouse position
    int y;
    int diffX; // difference between current and previous mouse position
    int diffY;
} MouseEvent;

} // namespace Core
